FROM python:3.8.5

MAINTAINER firslov

WORKDIR /bot

COPY . .

RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple \
		--extra-index-url https://download.pytorch.org/whl \
		-r requirements.txt

RUN chmod +x /bot/run.sh

ENTRYPOINT ["/bot/run.sh"]
